
<%
	HttpSession httpSession = request.getSession();
	Employee employee = (Employee) session.getAttribute("user");
	if (employee == null || employee.getRole() == null) {
		response.sendRedirect("errorLogin.jsp");
	}
%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@page import="com.msti.entity.Employee"%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Create Course</title>
<link rel="stylesheet" type="text/css" href="css/common.css" />
</head>
<body>
<div class="wrapper">		
	<form action="createCourse.do" method="post" id="create_course" class="form" >
		<div id="form_header">Create Course</div>
		<ul>
			<li>
				<p class="label">Course name :</p>
				<input type="text" name="name" class="txt_field" />
			</li>
			<li>
				<p class="label">Course Short Name :</p>
				<input type="text" name="cShortName" class="txt_field" />
			</li>
			<li>
				<p class="label">Duration :</p>
				<input type="text" name="duration" class="txt_field" />
			</li>
			<li>
				<p class="label">Course fee :</p>
				<input type="text" name="fee" class="txt_field" />
			</li>
			<li>
				<p class="label">Center :</p>
				<select name="center">
					<option label="OTC">OTC</option>
					<option label="RTC">RTC</option>
				</select>
			</li>
		</ul>
		<input type="submit" value="Create Course" class="btn">
	</form>
	<div class="company_name_bar"><marquee direction="left">Mercantile Seamen Training Institute Ltd.</marquee></div>
</div>
</body>
</html>